package runesim.node.model;
/**
 * Simplified class for any item interaction such as trade, inventory, or worn.
 * Note, this class differs from an item definition in that it does not contain
 * specific information about the actual item.
 * @author Jim
 */
public class Item {

		int id;
		int amount;
		int slot;
		
		public Item(int id, int amount, int slot){
			this.id = id;
			this.amount = amount;
			this.slot = slot;
		}
		
		public Item(int id, int amount){
			this.id = id;
			this.amount = amount;
			this.slot = -1;
		}
		
		public Item(int id, int slot, boolean dummy){
			this.id = id;
			this.amount = 1;
			this.slot = slot;
		}
		
		public void setID(int val){
			id = val;
		}
		
		public void setAmount(int val){
			amount = val;
		}
		
		public void setSlot(int val){
			slot = val;
		}
		
		public int getID(){
			return id;
		}
		
		public int getAmount(){
			return amount;
		}
		
		public int getSlot(){
			return slot;
		}
}